package com.wjw.mapper;

import com.wjw.model.Employee_table;
import com.wjw.model.Pavement_flatness_table;
import com.wjw.model.Road_basic_table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PavementFlatnessTableMapper {
    List<Pavement_flatness_table> findAll();
    List<Pavement_flatness_table> findByPage(@Param("page") int page, @Param("limit") int limit);
    int add(Pavement_flatness_table pavement_flatness_table);
    int delete(int id);
    int change(Pavement_flatness_table pavement_flatness_table);
    Road_basic_table findRoadByName(String name);
    Road_basic_table findRoadById(int id);
    Employee_table findEmployeeByName(String name);
    Employee_table findEmployeeById(String id);
}
